<if condition="$visitor">
<p>欢迎，<a href="{:U('user/ucenter')}" class="c-main">{$visitor.nickname}</a>
<span>&nbsp;&nbsp;</span>
<a href="{:U('login/logout')}" class="c-main">退出登录</a>
</p>
<else/>	
<p><a href="{:U('login/index')}{$trackurl}" class="c-main">亲，请登录</a><span>或</span><a href="{:U('login/register')}{$trackurl}">免费注册</a></p>
</if>